package com.atguigu.product.fallback;

import com.atguigu.order.Order;
import com.atguigu.product.Product;
import com.atguigu.product.conterller.OrderConterller;
import com.atguigu.product.controller.ProducrController;
import com.atguigu.product.feign.ProductFeignClient;
import org.springframework.stereotype.Component;

@Component
public class ProductFeignCilentFallback implements ProductFeignClient {


    @Override
    public Product getProductId(Long productId) {
        System.out.printf("fallback 调用异常");
        return null;
    }


}
